import { GSelect } from 'geminis-react';
import { forwardRef, useCallback } from 'react';

export const TransporterSelect = forwardRef((props: any, ref: any) => {

  return (
    <GSelect
      url="/api/warehouse/basic/transporter?deleted=false"
      fieldNames={{
        label: 'no',
        value: 'id',
      }}
      onChange={props?.onChange}
      value={props?.value}
    />
  );
});
